package com.milo.springboot.eventListener;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

@Component
public class LogoutListener implements ApplicationListener<LogoutEvent> {
    @Override
    public void onApplicationEvent(LogoutEvent event) {
        System.out.println("退出监听：LogoutListener"+event.getClass().getName());
    }
}
